]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenShield: Stop using an offscreen buffer for the arrow actor
authorRui Matos <tiagomatos@gmail.com>
Sun, 29 May 2016 17:42:25 +0000 (19:42 +0200)
committerRui Matos <tiagomatos@gmail.com>
Tue, 28 Jun 2016 17:53:17 +0000 (19:53 +0200)
This isn't a performance critical actor and the NVIDIA driver discards
offscreen buffers in some cases which would require us to go through
extra hoops to handle here which isn't worth it.

https://bugzilla.gnome.org/show_bug.cgi?id=739178

js/ui/screenShield.js

index 1c1fad9544749d8218f999f0e4256baef9e14598..e4ffde5dd375c3102bc73822fc5d4725621c9d6e 100644 (file)
@@ -349,7 +349,6 @@ const Arrow = new Lang.Class({
     _init: function(params) {
         this.parent(params);
         this.x_fill = this.y_fill = true;
-        this.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS);
 
         this._drawingArea = new St.DrawingArea();
         this._drawingArea.connect('repaint', Lang.bind(this, this._drawArrow));